package com.japancompany.common;

import lombok.Data;
import java.io.Serializable;

@Data
public class PageQuery implements Serializable {
    private static final long serialVersionUID = 1L;
    
    private Integer pageNum = 1;
    private Integer pageSize = 10;
    
    public Integer getOffset() {
        return (pageNum - 1) * pageSize;
    }
}